package com.dtwave.eureka.controller;


import com.dtwave.eureka.base.BaseController;
import com.dtwave.eureka.entity.dto.UserWxDto;
import com.dtwave.eureka.service.IUserWxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 用户微信信息表 前端控制器
 * </p>
 *
 * @author dtwave
 * @since 2019-05-27
 */
@RestController
@RequestMapping("/user-wx")
public class UserWxController extends BaseController {


    @Autowired
    private IUserWxService userWxService;

    @GetMapping("/findSome")
    private List<UserWxDto> findSome() {
        return userWxService.findSome();
    }
}

